effects:obj/reflection_effect.o obj/refraction_effect.o obj/effect.o \
	obj/fresnel_effect.o

INC=..

obj/reflection_effect.o:reflection_effect.cc reflection_effect.h effect.h \
	$(INC)/graphics/program_glsl.h $(INC)/common/venus.h
	g++ -c -I$(INC) reflection_effect.cc
	mv reflection_effect.o obj/

obj/refraction_effect.o:refraction_effect.cc refraction_effect.h effect.h \
	$(INC)/graphics/program_glsl.h $(INC)/common/venus.h
	g++ -c -I$(INC) refraction_effect.cc
	mv refraction_effect.o obj/

obj/effect.o:effect.h effect.cc $(INC)/graphics/program_glsl.h \
	$(INC)/common/venus.h
	g++ -c -I$(INC) effect.cc
	mv effect.o obj/

obj/fresnel_effect.o:fresnel_effect.h fresnel_effect.cc \
	$(INC)/graphics/program_glsl.h $(INC)/common/venus.h
	g++ -c -I$(INC) fresnel_effect.cc
	mv fresnel_effect.o obj/

clean:
	rm -f obj/*.o
